package com.allenkerr.vo;

import com.allenkerr.pojo.Product;

import java.util.List;

/**
 * Created by 小柯(Allen Kerr) on 17.5.2 9:22.
 */
public class ResultModel<E> {
    // 商品列表
    private List<E> list;
    // 商品总数
    private Long recordCount;
    // 总页数
    private int pageCount;
    // 当前页
    private int currPage;

    public ResultModel() {
    }

    public List<E> getList() {
        return list;
    }

    public void setList(List<E> list) {
        this.list = list;
    }

    public Long getRecordCount() {
        return recordCount;
    }

    public void setRecordCount(Long recordCount) {
        this.recordCount = recordCount;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getCurrPage() {
        return currPage;
    }

    public void setCurrPage(int currPage) {
        this.currPage = currPage;
    }
}
